﻿using System;

class PrimeIntegerNumber

        // Write an expression that checks if given positive integer number n (n ≤ 100) is prime. E.g. 37 is prime.

{
    static void Main()
    {
        Console.Write("Enter a number between 0 and 100: ");
        int number = int.Parse(Console.ReadLine());
        bool isPrime = true;
        for (int i = 2; i < 100; i++)
        if (number % i == 0)
            {
                isPrime = false;
                break;
            }
        Console.WriteLine("The number {0} {1} a prime number", number, isPrime ? "is" : "is not");
    }
}

